/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.devs.benchmark.modeling;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "portType", propOrder = {})

@XmlSeeAlso({
    InportType.class,
    OutportType.class
})
/**
 *
 * @author Alejandro Moreno
 */
public class PortType {

    @XmlAttribute(name = "name")
    protected String name;

    @XmlAttribute(name = "type")
    protected Class type;

    public PortType(){}

    public PortType(String name, Class type){
        this.name = name;
        this.type = type;
        
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Class getType() {
        return type;
    }

    public void setType(Class type) {
        this.type = type;
    }


   

}
